package com.blm.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(description = "添加/删除收藏请求体")
public class FavoriteDTO {
    @NotNull(message = "目标ID不能为空")
    @Schema(description = "要收藏或取消收藏的店铺/商品ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long targetId;
}